//
//  AddressModel.h
//  LoveBeeProject
//
//  Created by 沈腾飞 on 2017/1/9.
//  Copyright © 2017年 斯芬克斯. All rights reserved.
//

#import <Foundation/Foundation.h>



typedef enum : NSUInteger {
    GenderTypeman = 1,
    GenderTypewoman = 2,
} GenderType;
/*
 {
	id = 4351645;
	accept_name = 维尼的小熊;
	addr_for_dealer = 西水井胡同1号;
	province_name = 北京;
	district_id = 0;
	version = 2;
	gender = 1;
	isnew = 1;
	lat_map = 39.927583644703;
	city_id = 2;
	address = 人民大会堂 9527办公室;
	lat = 39.927583644703;
	telphone = 18833331111;
	lng_map = 116.43704865748;
	city_name = 北京市;
	lng = 116.43704865748;
	province_id = 1;
	district_name = ;
 }
 
 */


@interface AddressModel : NSObject
///姓名
@property (nonatomic, copy) NSString *accept_name;
///电话
@property (nonatomic, copy) NSString *telphone;
///省份名字
@property (nonatomic, copy) NSString *rovince_name;
///城市名字
@property (nonatomic, copy) NSString *city_name;
///地区名字
@property (nonatomic, copy) NSString *district_name;
///地址
@property (nonatomic, copy) NSString *address;
///性别
@property (nonatomic,assign) GenderType gender;

@property(nonatomic,strong) AddressModel *model;

+(void)getAddressModelWithSuccess:(void(^)(NSArray *arr))successBlock failed:(void(^)(NSError *error))failedBlock;


@end
